package team.cdlzz.model.servicePojo;

/**
 * @author zw
 * @date 2022-06-26.
 */

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 图片上传的Java配置类，通过SpringBoot自动读取配置文件注入
 */
@Data
@Component
@ConfigurationProperties(prefix = "file.upload")
public class UploadProperties {
    // 图片上传路径
    public String path_img;
    public String path_excel;
    // 文件上传允许类型
    public List<String> allowTypes;

}
